﻿um_c = eval(input("请输入Um-c的浓度（x10^7个/mL）："))
um_e = eval(input("请输入Um-e的浓度（x10^7个/mL）："))
total_use = eval(input("请输入所需菌量（mL）："))

if um_c > um_e:
    use_e = total_use/(2*um_e)
    use_c = use_e * um_e / um_c
    use_water = total_use - use_e - use_c
elif um_c <= um_e:
    use_c = total_use/(2*um_c)
    use_e = use_c * um_c / um_e
    use_water = total_use - use_c - use_e

print("取Um_c {:.3f}mL\n取Um_e {:.3f}mL\n加水 {:.3f}mL".format(use_c,use_e,use_water))